package Utils.reflect;

import org.junit.jupiter.api.Test;

import java.lang.reflect.Method;

public class MyTest1 extends MyTest0 {
    /*public MyTest1(Object proxy, Method m) throws Throwable {
        super(proxy, m);
    }*/

    @Test
    public void test01() throws NoSuchFieldException, IllegalAccessException {
        Person person = new Person("a", 18);
        ReflectUtils.setDeclaredField(person,"name", "b");
        System.out.println(person);
    }
}
